<?php
return array(
    'serverAddr' => "http://local.projecty.com/index.php",                  //本地访问地址
//    'serverAddr' => "http://phing-projecty.fminutes.com:8888/index.php",    //测试机器访问地址
//    'serverAddr' => "http://projecty.fminutes.com:8888/index.php",          //正式机器访问地址
    'outputEncode' => 'UTF-8', //输出编码(GB2312, UTF-8)

    /**
     * 一下配置供单元测试使用
     */
    
    //是否开启debug模式
    'debug' => true,

	//游戏状态(0:正常,1:维护)
	'status' => 0 ,
    
    //是否为开发环境
    'dev' => true ,

	//memcache客户端类名（memcache:Memcache,libMemcache：Memcached）
	'memcacheClass' => 'Memcache' ,
	
	//Memcache配置
	'memcache' => array
	(
		//游戏数据集群
		'data' => array
		(
			array(	"host" => "127.0.0.1" , "port" => 11212 ) ,
		) ,
		
		//Session集群
		'session' => array
		(
			array(	"host" => "127.0.0.1" , "port" => 11212 ) ,
		) ,
		
		//etc集群
		'etc' => array
		(
			array(	"host" => "127.0.0.1" , "port" => 11212 ) ,
		) ,
        
        'indexer' => array
		(
			array(	"host" => "127.0.0.1" , "port" => 11212 ) ,
		) ,
	) ,

    //redis配置
    'redisConfig' => array
    (
       'feedList' => array
        (
           array( 'host' => '127.0.0.1' , 'port' => 6380 ) ,
        ) ,
        'feedSummer' => array
        (
           array( 'host' => '127.0.0.1' , 'port' => 6380 ) , 
        ) ,
        'notify' => array
        (
           array( 'host' => '127.0.0.1' , 'port' => 6380 ) ,
        ) ,
        'friendRequest' => array
        (
           array( 'host' => '127.0.0.1' , 'port' => 6380 ) ,
        ) ,
    ) ,

    //密码加密串
    'passEncrypt' => '!@#$%%^%#*&^%$@!345^5$#@447**9*(&^%',

    //登录验证加密串
    'apiSecret' => '!@#$%$#$%@*&^(%$&3@',

	'dbClassName' => 'FM_MysqlDber' , //数据库类名( FM_Dber : 中间件数据库 , FM_MysqlDber : MYSQL数据库 )
	'mysqlDb' => array
	(
        'common' => array( 'host' => '127.0.0.1' , 'port' => 3306 , 'user' => 'root' , 'passwd' => '' , 'name' => 'qicai_common' ) , //无分库要求
        'indexer' => array( 'host' => '127.0.0.1' , 'port' => 3306 , 'user' => 'root' , 'passwd' => '' , 'name' => 'qicai_user_indexer' ) ,
        'qicai' => array( 'host' => '127.0.0.1' , 'port' => 3306 , 'user' => 'root' , 'passwd' => '' , 'name' => 'qicai_userinfo_3307' ) ,
	) ,

	'nfs' => array
	(
		'staticType' => 'source' , //件类型( source:源代码 , nfs : 图片服务器 )
		'source' => array
		(
			'image' => array
			(
				'f:/www/projectY/trunk/Web/static/images/' ,
			),
		) ,
		'nfs' => array
		(
			'image' => array
			(
			) ,
		) ,
	)
);